How to setup an in memory cache in dotnet